import '@js/init.js'
import{addData} from '../utils/getData'
$('#addSubjectsBtn').click(function () {
    let name = $('#subjectsName').val();
    const rem= addData('/objects/creatobject','post',{ name: name});
        if(rem){
              alert('添加成功')
        }
  });